package day03.note;

public class txt10 {
    public static void main(String[] args) {

        int n = 1;//控制格子数量
        int s = 0;//用来计算芝麻总数量
        while (n <= 25) {
            s = s + n;
            n++;
        }
        System.out.println(s);
    }
}

